<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QTextFormat Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QTextFormat Class Reference</h1>
<h3 align="center">[<a href="qt_gui.html">qt.gui</a> package]</h3>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QTextFormat()</b></li>
<li><div class="fn"/><b>void QTextFormat(QTextFormat rhs)</b></li>
<li><div class="fn"/><b>void QTextFormat(int type)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QTextFormat prototype object</li>
<li><b>InvalidFormat = -1</b></li>
<li><b>BlockFormat = 1</b></li>
<li><b>CharFormat = 2</b></li>
<li><b>ListFormat = 3</b></li>
<li><b>TableFormat = 4</b></li>
<li><b>FrameFormat = 5</b></li>
<li><b>UserFormat = 100</b></li>
<li><b>FormatType( value )</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<ul>
<li><div class="fn"/><b>QBrush background()</b></li>
<li><div class="fn"/><b>bool boolProperty(int propertyId)</b></li>
<li><div class="fn"/><b>QBrush brushProperty(int propertyId)</b></li>
<li><div class="fn"/><b>void clearBackground()</b></li>
<li><div class="fn"/><b>void clearForeground()</b></li>
<li><div class="fn"/><b>void clearProperty(int propertyId)</b></li>
<li><div class="fn"/><b>QColor colorProperty(int propertyId)</b></li>
<li><div class="fn"/><b>qreal doubleProperty(int propertyId)</b></li>
<li><div class="fn"/><b>QBrush foreground()</b></li>
<li><div class="fn"/><b>bool hasProperty(int propertyId)</b></li>
<li><div class="fn"/><b>int intProperty(int propertyId)</b></li>
<li><div class="fn"/><b>bool isBlockFormat()</b></li>
<li><div class="fn"/><b>bool isCharFormat()</b></li>
<li><div class="fn"/><b>bool isEmpty()</b></li>
<li><div class="fn"/><b>bool isFrameFormat()</b></li>
<li><div class="fn"/><b>bool isImageFormat()</b></li>
<li><div class="fn"/><b>bool isListFormat()</b></li>
<li><div class="fn"/><b>bool isTableCellFormat()</b></li>
<li><div class="fn"/><b>bool isTableFormat()</b></li>
<li><div class="fn"/><b>bool isValid()</b></li>
<li><div class="fn"/><b>LayoutDirection layoutDirection()</b></li>
<li><div class="fn"/><b>QTextLength lengthProperty(int propertyId)</b></li>
<li><div class="fn"/><b>List lengthVectorProperty(int propertyId)</b></li>
<li><div class="fn"/><b>void merge(QTextFormat other)</b></li>
<li><div class="fn"/><b>int objectIndex()</b></li>
<li><div class="fn"/><b>int objectType()</b></li>
<li><div class="fn"/><b>bool operator_equal(QTextFormat rhs)</b></li>
<li><div class="fn"/><b>QPen penProperty(int propertyId)</b></li>
<li><div class="fn"/><b>SortedMap properties()</b></li>
<li><div class="fn"/><b>Object property(int propertyId)</b></li>
<li><div class="fn"/><b>int propertyCount()</b></li>
<li><div class="fn"/><b>void setBackground(QBrush brush)</b></li>
<li><div class="fn"/><b>void setForeground(QBrush brush)</b></li>
<li><div class="fn"/><b>void setLayoutDirection(LayoutDirection direction)</b></li>
<li><div class="fn"/><b>void setLengthVectorProperty(int propertyId, List lengths)</b></li>
<li><div class="fn"/><b>void setObjectIndex(int object)</b></li>
<li><div class="fn"/><b>void setObjectType(int type)</b></li>
<li><div class="fn"/><b>void setProperty(int propertyId, Object value)</b></li>
<li><div class="fn"/><b>String stringProperty(int propertyId)</b></li>
<li><div class="fn"/><b>void swap(QTextFormat other)</b></li>
<li><div class="fn"/><b>QTextBlockFormat toBlockFormat()</b></li>
<li><div class="fn"/><b>QTextCharFormat toCharFormat()</b></li>
<li><div class="fn"/><b>QTextFrameFormat toFrameFormat()</b></li>
<li><div class="fn"/><b>QTextImageFormat toImageFormat()</b></li>
<li><div class="fn"/><b>QTextListFormat toListFormat()</b></li>
<li><div class="fn"/><b>QTextTableCellFormat toTableCellFormat()</b></li>
<li><div class="fn"/><b>QTextTableFormat toTableFormat()</b></li>
<li><div class="fn"/><b>int type()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QTextFormat objects have no special properties beyond those inherited from the QTextFormat prototype object.</p>
</body>
</html>
